<template>
  <div class="app">
    <h3>我是app组件(祖)</h3>
    <child />
  </div>
</template>

<script>
import child from "./components/child.vue";

export default {
  name: "App",
  components: { child }
};
</script>

<style>
.app {
  background-color: #ccc;
  padding: 10px;
}
</style>